PUT
https://api.topsort.com
/
public
/
v1
/
segment-service
/
segments
curl --request PUT \
  --url https://api.topsort.com/public/v1/segment-service/segments \
  --header 'Content-Type: application/json' \
  --data '{
  "segments": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>"
    }
  ]
}'
{
  "segments": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>",
      "total": 123
    }
  ]
}

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.